home *** CD-ROM | disk | FTP | other *** search
- #!/bin/sh
-
- if [ -f /etc/sysconfig/pcmcia.rpmsave ] ; then
- copyopts='PCMCIA PCIC PCIC_OPTS CORE_OPTS CARDMGR_OPTS'
- daemonf=/etc/sysconfig/pcmcia
- for opt in $copyopts ; do
- opts=`get_val -f /etc/sysconfig/pcmcia.rpmsave $opt`
- oldopts=`get_val -f $daemonf $opt`
- # Only migrate values which are not empty.
- # (might be discussable)
- if [ -n "$opts" ]; then
- echo "$daemonf setting $opt to $opts"
- set_val -f $daemonf -- $opt "$opts"
- fi
- done
- fi
-
- # rerun /sbin/hwprobe, in case we have a PCI CardBus bridge (this will change
- # the /etc/sysconfig/pcmcia script too.
-
- /sbin/hwprobe
-